package com.chinasofti.controlcommon.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sys_menu")//表和表映射
public class SysMenu {
    @TableId(value = "id",type = IdType.AUTO)//自增主键
    private Integer id;
    //@TableField("username")//跟数据库字段对应
    private String pid;
    private String menuId;
    private String menuName;
    private String Content;
    private String url;
    private Boolean isDeleted;

}
